How can I make my SQL Server query efficient enough to not time out

join shbcf.ru